package com.spring4a.stereo_mixedconfig;

import java.util.List;

/**
 * Created by Temp on 2017/9/18.
 */
public class BlankDisc implements CompactDisc {

    private String title;
    private String artist;
    private List<String> tracks;

    public void setTitle(String title) {
        this.title = title;
    }

    public void setArtist(String artist) {
        this.artist = artist;
    }

    public void setTracks(List<String> tracks) {
        this.tracks = tracks;
    }

    public void play() {
        System.out.println("******Playing: " + title + ", by: " + artist + ",****:" + tracks.size());
    }
}
